<?php
class Utils {
    private $_ci;
    public function __construct($config=array()) {
        $this->_ci = &get_instance();
    }
    public function getConfig(){
        $cfg = $this->_ci->config->item('defaultCfg');
        $obj = json_decode (json_encode ($cfg), FALSE);
        return $obj;
    }
}
